using System;
using System.Reflection;

namespace DynamicProxies
{
	public interface IInvocationHandler
	{
		bool BeforeMethodInvocation(MethodBase target, object[] arguments);
		bool AfterMethodInvocation(MethodBase target, object[] arguments, 
			ref object returnValue, Exception generatedException);
	}
}
